home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / e / mailinglists / amigae.0294feb.archive / 000029_donews!crash!In…Bremen.DE!olli_Tue, 8 Feb 94 07:45:05 PST.msg < prev    next >
Internet Message Format  |  1994-05-26  |  3KB

  1. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  2.       id <1res@bkhouse.cts.com>; Tue, 8 Feb 94 07:45:05 PST
  3. Received: from crash by donews.cts.com with uucp
  4.     (Smail3.1.28.1 #18) id m0pTeLq-0001o1C; Mon, 7 Feb 94 14:22 PST
  5. Received: from alf.zfn.uni-bremen.de by crash.cts.com with smtp
  6.     (Smail3.1.28.1 #18) id m0pTPuw-00006SC; Sun, 6 Feb 94 22:57 PST
  7. Received: from bettina.informatik.uni-bremen.de by alf.zfn.uni-bremen.de (AIX 3.2/UCB 5.64/4.931109)
  8.           id AA57079; Fri, 4 Feb 1994 16:34:06 +0100
  9. Received: by Informatik.Uni-Bremen.DE (4.1/SMI-4.1)
  10.     id AA17252; Fri, 4 Feb 94 16:34:01 +0100
  11. Received: from localhost by p232.informatik (4.1/SMI-4.1)
  12.     id AA21028; Fri, 4 Feb 94 16:33:56 +0100
  13. Message-Id: <9402041533.AA21028@p232.informatik>
  14. In-Reply-To: Your message of "Wed, 02 Feb 1994 21:25:35 EST."
  15.              <199402030225.VAA14485@freenet.carleton.ca>
  16. Date: Fri, 04 Feb 1994 16:33:54 +0100
  17. From: Olliver Moehreke <olli@Informatik.Uni-Bremen.DE>
  18. To: AmigaE@bkhouse.cts.com (The AmigaE Mailing List)
  19. Subject: Re: Amiga E bug! (I'm pretty sure.)
  20.  
  21.  
  22. |>   >One other thing I'm stuck on is with a device/volume/assign list. I want 
  23. to
  24. |>   >be able to show it similar to the way ASL shows it ie:
  25. |>   >
  26. |>   >
  27. |>   >DEVICENAME:   VOLUMENAME:             xx% full
  28. |>   >DEVICE2:      VOLUME2:                yy% full
  29. |>   >C:                                    Assign
  30. |>   >CLIPS:                                Assign
  31. |>   >
  32. |>   >etc...
  33. |>   >But... no matter which way I do it, I either end up with devices I don't
  34. |>   >want
  35. |>   >(SER:  AUX: PRT: PAR: etc)  or I have no devices at all, just volumes and
  36. |>   >assigns...   the second option would be OK if I knew how to get the devic
  37. e
  38. |>   >name from the volume name..  e.g. given I have a volumename of
  39. |>   >AmigaLibDisk930,  how do I find from that the device it is in?
  40. |>   >e.g. DF3:
  41. |>   
  42. |>       Ok, this is a bit tricky, but is quite doable. My details may be a
  43. |>   bit off, because I don't have the RKMs with me, but here's the gist.
  44. |>   First, to avoid having devices you don't like, use the Dos (I believe)
  45. |>   call, IsFileSystem().
  46.  
  47. MEGA WARNING !!!
  48.  
  49. NEVER USE IsFileSystem('DEVICE:') WHEN YOU HAVE LOCKED THE DOSLIST
  50. FOR READING OR WRITING, BECAUSE YOU WILL GET A MEGA-DEADLOCK...
  51.  
  52. The reason is, that IsFileSystem(...) has to load every handler,
  53. that is not already loaded to the system (eg. PRT:). The OS
  54. then has to update the processport-information of the doslist
  55. and tries to lock the doslist too, that is already locked by you. :)
  56.  
  57.  
  58. ---------------------------------------------------------------------
  59. Oliver Moehrke             EMail:  olli@informatik.Uni-Bremen.de
  60. FB - Informatik - AG KI             UUCP:   unido!ubrinf!olli
  61. Universitaet Bremen
  62. Postfach 33 04 40         Tel:    +49-(0)4221-218-3776
  63. D-28334 Bremen             Fax:    +49-(0)4221-218-7196
  64. ---------------------------------------------------------------------